<script>
	import Nested from './components/Nested.svelte';
	import Info from './components/info.svelte';
	let answer = '55';
	const pkg = {
		name: 'svelte',
		version: 3,
		speed: 'blazing',
		website: 'https://svelte.dev'
	};
</script>

<Nested answer={42} />
<Nested {answer} />
//继承赋予新值
<Nested />//默认值
<Info {...pkg} />
